package com.neuedu.spring.dao.impl;

import com.neuedu.spring.dao.IPersonDao;
import com.neuedu.spring.dao.IUserDao;

/**
 * 项目：spring-java4
 * 创建时间：  2022-03-18   13:53
 * 作者 :jshand
 * 描述 :
 */
public class PersonDaoImpl implements IPersonDao {

    private String driverClass;
    private String url;

    public PersonDaoImpl() {
    }

    public PersonDaoImpl(
            String driverClass,
            String url
    ) {
        this.driverClass = driverClass;
        this.url = url;
    }

    @Override
    public void selectPerson() {
        System.out.println("调用 PersonDaoImpl selectPerson");
        System.out.println("driverClass = " + driverClass);
        System.out.println("url = " + url);
    }
}
